import Layout from '@/layout'
import ParentView from '@/components/ParentView'
export const WaterMonitorRouter = [
    {
        "name": "水环境监测数据",
        "path": "/watermonitor",
        "hidden": false,
        "redirect": "noRedirect",
        "component": Layout,
        "alwaysShow": true,
        "meta": {
            "title": "水环境监测数据",
            "icon": "system",
            "noCache": false,
            "link": null
        },

        "children": [
            {
                "name": "监测数据",
                "path": "moitordata",
                "redirect": "noRedirect",
                "component": ParentView,
                "alwaysShow": true,
                "meta": {
                    "title": "监测数据",
                    "icon": "user",
                    "noCache": false,
                    "link": null
                },
                children: [
                    {
                        name: '水功能区域数据',
                        path: 'waterzone',
                        hidden: false,
                        component: () => import('@/views/waterMonitor/waterZone'),

                        meta: { title: '水功能区域数据', icon: 'user' }
                    },
                    {
                        name: '富营养化数据',
                        path: 'eutrophication',
                        hidden: false,
                        component: () => import('@/views/waterMonitor/eutrophication'),

                        meta: { title: '富营养化数据', icon: 'user' }
                    },

                ]
            },


        ]
    }
]